@layout('layout2')

@section('page-content')
<script type="text/template" id="collection-template">
    <span class="name">
            <%= name %>
        </span>
    <a href="#" class="control edit" data-id="<%= id %>">
        <img src="{{ asset('img/edit.16.png') }}" alt="edit">
    </a>
    <a href="#" class="control del" data-id="<%= id %>">
        <img src="{{ asset('img/del.16.png') }}" alt="edit">
    </a>
</script>

<div class="content-block">
    <h3>{{ __('label.collection.list') }}</h3>
    <div class="content-block-inner">
        <div id="collection-container">

        </div>
        <div class="clear"></div>
    </div>
</div>

<div id="msg">
    <span class="content">Noi dung thong bao</span>
    <span class="close">&times;</span>
</div>

<div class="content-block">
    <h3>{{ __('label.collection.update-form') }}
        <a href="#" id="cln-add">{{ __('label.collection.update.add') }}</a>
    </h3>
    <div class="content-block-inner">
        <form id="collection-update-form">
            <div class="control-row">
                <label for="cln-name">{{ __('label.collection.update.name') }}</label>
                <input type="text" name="cln_name" id="cln-name" size="35">
            </div>

            <div class="control-row">
                <label for="cln-numbers">{{ __('label.collection.update.numbers') }}</label>
                <textarea name="cln_numbers" id="cln-numbers" cols="35" rows="5"></textarea>
            </div>

            <div class="control-row button">
                <button id="cln-submit" type="button">{{ __('label.collection.update.submit') }}</button>
                <button id="cln-format" type="button">{{ __('label.collection.update.format') }}</button>
            </div>
        </form>
    </div>
</div>

{{ HTML::script('js/collection.js') }}
@endsection